var express = require('express');
var router = express.Router();
var multerUpload = require('../utils/multerfs')
var { loginControl,registerControl,getUserList} = require('../controller/userController')

router.post('/login',loginControl);
router.post('/register',multerUpload.single('myfile'),registerControl);
router.get('/list',getUserList);

module.exports = router;
